package cn.jawar.framework.cloud.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.Import;
import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.Arrays;

/**
 * @author dongs
 */
@SpringBootApplication
@EnableEurekaServer
@EnableSwagger2
@Import({BeanValidatorPluginsConfiguration.class})
public class EurekaServerApplication {

    public static void main(String[] args) {
        System.out.println("args = " + Arrays.toString(args));
        SpringApplication.run(EurekaServerApplication.class, args);
    }


}
